from pspy.gae import Server
import logging
from app.GHT.domain import AppletRH as GHTRH
# server start up params

APPLETS = [
('/GHT/.*',GHTRH),('/GHT',GHTRH)
,('/.*',GHTRH)
]

DEBUG_FLAG = True
LOGGING_LEVEL = logging.INFO

# set up logging levels
if DEBUG_FLAG:
    LOGGING_LEVEL = logging.DEBUG
    
logging.getLogger().setLevel(LOGGING_LEVEL)

THE_APP = Server(APPLETS,DEBUG_FLAG).getApp()